<template>
  <div>
    <van-nav-bar :border="false" class="headtop">
      <template #title>
        <span style="color: #fff;">我的</span>
      </template>
      <template #right>
        <van-icon color="#fff" class="m-r-5" name="share-o" size="25" />
        <van-icon color="#fff" name="chat-o" size="25" />
      </template>
    </van-nav-bar>
    <div class="topPer p-t-3 p-b-2 m-t-7 p-l-4 p-r-4">
      <div class="photo p-t-5 p-b-4">
        <div class="tou m-r-3"></div>
        <div>
          <h3>啊宝</h3>
          <p>推荐码 M1231546545</p>
        </div>
      </div>
      <div class="qr">
        <van-icon name="apps-o" />
        <van-icon name="arrow" />
      </div>
    </div>
    <van-nav-bar class="p-t-2 p-b-2">
      <template #left>
        <van-image :src="require('./img/p12.png')"></van-image>
        <span class="m-l-2">钱包</span>
      </template>
      <template #right>
        <van-icon color="grey" name="arrow" size="18" />
      </template>
    </van-nav-bar>
    <van-nav-bar class="p-t-2 p-b-2">
      <template #left>
        <van-image :src="require('./img/p12.png')"></van-image>
        <span class="m-l-2">设置</span>
      </template>
      <template #right>
        <van-icon color="grey" name="arrow" size="18" />
      </template>
    </van-nav-bar>
    <van-nav-bar class="p-t-2 p-b-2">
      <template #left>
        <van-image :src="require('./img/p12.png')"></van-image>
        <span class="m-l-2">授权书</span>
      </template>
      <template #right>
        <van-icon color="grey" name="arrow" size="18" />
      </template>
    </van-nav-bar>
    <van-nav-bar class="p-t-2 p-b-2">
      <template #left>
        <van-image :src="require('./img/p12.png')"></van-image>
        <span class="m-l-2">意见反馈</span>
      </template>
      <template #right>
        <van-icon color="grey" name="arrow" size="18" />
      </template>
    </van-nav-bar>
    <van-nav-bar class="p-t-2 p-b-2">
      <template #left>
        <van-image :src="require('./img/p12.png')"></van-image>
        <span class="m-l-2">客服联盟</span>
      </template>
      <template #right>
        <van-icon color="grey" name="arrow" size="18" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss">
.headtop {
  background: linear-gradient(
    to top right,
    rgb(116, 172, 194),
    rgb(23, 113, 231)
  );
  width: 100%;
  position: fixed;
  top: 0;
}
.topPer {
  background: linear-gradient(
    to top right,
    rgb(116, 172, 194),
    rgb(23, 113, 231)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .tou {
    width: 3.3rem;
    background: #ddd;
    border-radius: 50%;
    height: 3.3rem;
  }
  .photo {
    display: flex;
    align-items: center;
    h3 {
      font-size: 1.1rem;
      font-weight: 300;
    }
    p {
      font-size: 12px;
    }
  }
  .qr {
    font-size: 2rem;
  }
}
</style>
